package entity

import (
	"hobby-mate/common"
)

// ChatRoom 聊天房间信息
type ChatRoom struct {
	ChatRoomId string `json:"chatRoomId" form:"chat_room_id"   gorm:"primary_key;comment:聊天房间唯一标识符"`
	Name       string `json:"title" form:"title"  gorm:"not null;comment:聊天房间名称"`
	common.BaseEntity
}

func (ChatRoom) TableName() string {
	return "t_chat_room"
}
